DC.views.music_store = new Ext.data.TreeStore({
    model: 'ListItem',
    proxy: {
        type: 'ajax',
        url: '/dsf010/data/tracks.json',
        reader: {
            type: 'tree',
            root: 'items'
        }
    }
});
DC.EventListStore =  new Ext.data.Store({
    model:'eventList',
    data:[
        {
			id:150,
			image:"http://www.orkutgroup.com/scraps/scenery-scraps-orkut-10.jpg",
			date:"01 June - 06 June, 2011",
			title:'Dubai International Dance Festival 2011',
			tags:"Arts & Culture, Entertainment"
		},
		{
			id:151,
			image:"http://www.edesktopwallpapers.com/wp-content/uploads/2009/11/15281d1221215993-nature-wallpaper-scenery-4541.jpg",
			date:"01 June - 10 June, 2011",
			title:'The Annual Dubai Duty Free Golf Cup',
			tags:"Sports"
		},
		{
			id:152,
			image:"http://s.chakpak.com/se_images/49760_-1_564_none/scenery.jpg",
			date:"16 June - 20 June, 2011",
			title:'Automechanika Middle East',
			tags:"Sports"
		},
		{
			id:153,
			image:"http://good-wallpapers.com/pictures/2824/1440_Sydney%20Scenery.jpg",
			date:"22 June - 26 June, 2011",
			title:'High Tension - Art Exhibition by Erwin Olaf',
			tags:"Arts & Culture, Entertainment"
		},
		{
			id:154,
			image:"http://t1.gstatic.com/images?q=tbn:ANd9GcQkOIrwYnUh4qmd8e4gUBQbpZQTb2X14x_pdIVzT2R7cpPteWNupgAUnzdw",
			date:"01 June - 06 June, 2011",
			title:'Dubai International Dance Festival 2011',
			tags:"Arts & Culture, Entertainment"
		},
		{
			id:155,
			image:"http://www.sky-wallpaper.com/uploads/2010-11/fantastic-undersea-wallpaper/1289532594-RXVRTFC.jpg",
			date:"01 June - 06 June, 2011",
			title:'Dubai International Dance Festival 2011',
			tags:"Arts & Culture, Entertainment"
		},
		{
			id:156,
			image:"http://www.edesktopwallpapers.com/wp-content/uploads/2009/11/15271d1221215637-nature-wallpaper-natural-scenery-89781.jpg",
			date:"01 June - 10 June, 2011",
			title:'The Annual Dubai Duty Free Golf Cup',
			tags:"Sports"
		},
		{
			id:157,
			image:"http://im.in.com/media/download/wallpapers/2009/Jun/scene02-image-14_420x315.jpg",
			date:"16 June - 20 June, 2011",
			title:'Automechanika Middle East',
			tags:"Sports"
		},
		{
			id:158,
			image:"http://4.bp.blogspot.com/_P40ZN4dfLnc/TMA4tdqwhhI/AAAAAAAAAV4/0GX5bw763AQ/s1600/%2BAnima+(+1+)+..jpg",
			date:"22 June - 26 June, 2011",
			title:'High Tension - Art Exhibition by Erwin Olaf',
			tags:"Arts & Culture, Entertainment"
		},
		{
			id:159,
			image:"http://joyfulpapist.files.wordpress.com/2011/08/engines_of_creation_by_freelancah.jpg",
			date:"01 June - 06 June, 2011",
			title:'Dubai International Dance Festival 2011',
			tags:"Arts & Culture, Entertainment"
		}
    ]
});

var favStore = new Ext.data.TreeStore({  
    model: 'ListItemfav',
    //root: data,
    proxy: {
        type: 'ajax',
        url:'/dsf010/data/fav.json',
        reader: {
            type: 'tree',
            root: 'items'
        }
    }
});

/*var contactStore = new Ext.data.Store({  
    model: 'ContactFormElem',
    //root: data,
    proxy: {
        //type: 'ajax',
        reader: {
            type: 'ajax',
            url:'/dsf010/data/contact.json',
            root: 'contactData'
        }
    }
});

contactStore.load();*/

//The Store contains the AjaxProxy as an inline configuration
var contactStore = new Ext.data.Store({
    autoLoad: true,
    model: 'ContactFormElem',
    proxy: {
        type: 'ajax',
        url : '/dsf010/data/contact.json',
        root: 'contactData'
    }
});

//contactStore.load();